Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@abtasty/widget-utils
Advanced tools
Collection of useful functions for AB Tasty Widgets.
Inside your Widget folder, install the widget-utils
library:
npm install @abtasty/widget-utils
Note: you can also use yarn instead of npm: yarn add @abtasty/widget-utils
With Webpack or Rollup.js:
import { waitForElement, isAffected } from '@abtasty/widget-utils';
const waitForBody = waitForElement('#section', (section) => {
section.insertAdjacentHTML('beforeend', '<p>New paragraph at the end of that section.</p>');
});
setTimeout(() => {
if (!isAffected()) {
waitForBody.clear();
}
}, 10000);
When you have installed and build your locally project :
npm link
in your widget-utils
foldernpm link @abtasty/widget-utils
editor
project.First, install your widget-utils
, copy the path of the project.
Then, In your local widget project :
npm install
, delete the folder /node_modules/@abtasty/widget-utils
/node_modules/@abtasty/
ln -s {your path to widget-utils project folder} widget-utils
A symlink has been created in your widget project, with the folder: /node_modules/@abtasty/widget-utils
The fonts.js file in this repo is exposing the Google Fonts from ABTasty CDN (which is populated by this repo: https://gitlab.com/abtasty/turfu/common-fonts)
Any changes in the common-fonts repo must follow the font regeneration here.
To regenerate the fonts.js file,
yarn run generateFonts
Once the MR is approved, follow the following steps:
npm
with npm publish
FAQs
Collection of useful functions for AB Tasty Widgets.
The npm package @abtasty/widget-utils receives a total of 250 weekly downloads. As such, @abtasty/widget-utils popularity was classified as not popular.
We found that @abtasty/widget-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.